﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Kinect;

namespace kinect8.Toolkit
{
    public abstract class GestureDetector
    {
        public abstract bool TrackGesture(Skeleton skeleton);

        public bool Enable { get; set; }

        public event EventHandler<GestureEventArgs> OnGestureDetected;


        protected void RaiseGestureDetected(GestureEventArgs gestureArgs)
        {
            OnGestureDetected(this, gestureArgs);
        }
    }
}
